package com.vincce.sport.mapper;

import java.util.List;
import java.util.Map;

import com.vincce.sport.core.MyBatisRepository;
import com.vincce.sport.entity.City;
import com.vincce.sport.entity.Bottom;
import com.vincce.sport.entity.Page;

@MyBatisRepository
public interface BottomMapper {
	/**
	 * 通过parentid查询页面底部信息
	 * @param id
	 * @return
	 */
	public List<Bottom> queryBottomByParentId(Integer id);
	/**
	 * 添加底部信息
	 * @param bottom
	 * @return
	 */
	public Integer insertBottom(Bottom bottom);
	/**
	 * 更新底部信息
	 * @param bottom
	 * @return
	 */
	public Long updateBottom(Bottom bottom);
	/**
	 * 删除所有
	 * @return
	 */
	public Integer deleteAll();	
	/**
	 * 查询全部
	 * @return
	 */
	public List<Bottom> queryAll();

}
